The linefeed at the end causes ovh-api to return 401 even if the
password is correct.
Fixes #27693
Signed-off-by: Fabian Zimmermann <[email protected]>
PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
-PKG_RELEASE:=79
+PKG_RELEASE:=80
PKG_LICENSE:=GPL-2.0
http_basic_encoding() {
local user="$1"
local password="$2"
- echo "${user}:${password}" | openssl base64
+ printf "${user}:${password}" | openssl base64 -in /dev/stdin
}
[ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'"